<?php

$URL = $_SERVER["REMOTE_HOST"] . "/c410";

if ($_SESSION['ls_accounttype'] == 'manager') {
	echo '
	<div class="sidebar-box">
	<h3>Manager</h3>
	<ul>
		<li class="page_item"><a href="'.$URL.'/site-gui/admin/comments/listEvents.php">Comment on Swimmers</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/admin/editPages.php">Edit Pages</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/admin/eventHistory/eventHistory.php">Event History</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/admin/events/importFile.php">Import / Export Hy-Tek Files</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/admin/events/manageAgeGroups.php">Manage Age Groups</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/admin/events/manageEvents.php">Manage Events</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/admin/events/manageEventTypes.php">Manage Event Types</a></li>
		<li class="page_item"><a href="/c410/site-gui/meets.php">Manage Meets</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/admin/manageMembers">Manage Members</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/admin/store/">Manage Store</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/admin/swimmerPerformance/swimmerPerformance.php">Swimmer Performances</a></li>
	</ul>
	</div>
	';
}

if(isset($_SESSION['ls_userid'])) {
	echo '
	<div class="sidebar-box">
	<h3>Members</h3>
	<ul>';
	if($_SESSION['ls_accounttype'] != 'manager') {
		echo '<li class="page_item"><a href="'.$URL.'/site-gui/members/coach_comments/coach_comments.php">Coach Comments</a></li>
			<li class="page_item"><a href="'.$URL.'/site-gui/members/eventHistory/eventHistory.php">Event History</a></li>
			<li class="page_item"><a href="'.$URL.'/site-gui/members/eventSignup">Event Signup</a></li>
			<li class="page_item"><a href="'.$URL.'/site-gui/members/eventSignup/meetsBilling.php">Meets Billing</a></li>
			<li class="page_item"><a href="'.$URL.'/site-gui/members/performanceHistory/performanceHistory.php">Performance History</a></li>
			<li class="page_item"><a href="'.$URL.'/site-gui/members/store">Store</a></li>
			<li class="page_item"><a href="'.$URL.'/site-gui/members/top10/top10.php">Top 10 Performers</a></li>';
	}
	
	if($_SESSION['ls_accounttype'] == 'manager') {
	echo '  
		<li class="page_item"><a href="'.$URL.'/site-gui/members/eventSignup">Event Signup</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/members/eventSignup/meetsBilling.php">Meets Billing</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/members/store">Store</a></li>
		<li class="page_item"><a href="'.$URL.'/site-gui/members/top10/top10.php">Top 10 Performers</a></li>';
	}
	echo '
	</ul>
	</div>
	';
}
	

?>

<div class="sidebar-box">
	<h3>Pages</h3>
	<ul>
		<li class="page_item"><a href="/c410/site-gui/generalinfo.php">General Information</a></li>
		<li class="page_item"><a href="/c410/site-gui/about.php">About The Team</a></li>
		<li class="page_item"><a href="/c410/site-gui/programs.php">Programs</a></li>
		<li class="page_item"><a href="/c410/site-gui/meets.php">Meets and Events</a></li>
		<li class="page_item"><a href="/c410/site-gui/media.php">Digital Media</a></li>
		<li class="page_item"><a href="/c410/site-gui/contact.php">Contact</a></li>
	</ul>
</div>
